package com.app.micaihu.bean.infor;

import android.text.TextUtils;

/**
 * Created by Guo on 2016/8/26.
 *
 * 关注和粉丝列表的item的bean
 */
public class AttentionAndFansBean {
    private String nickName;
    private String headPic;
    private String uid;
    private String status;//关注状态
    private String signature;//签名
    private String isAuthor;//是否是作者 1是 0否
    private String isArmyStatus;//是否有加入军团 1是 0否
    private String rankIcon;
    private String honourPic;
    private String armyGroupInfo;
    private String rankName;

    public String getRankIcon() {
        return rankIcon;
    }

    public void setRankIcon(String rankIcon) {
        this.rankIcon = rankIcon;
    }

    public String getHonourPic() {
        return honourPic;
    }

    public void setHonourPic(String honourPic) {
        this.honourPic = honourPic;
    }

    public String getArmyGroupInfo() {
        return armyGroupInfo;
    }

    public void setArmyGroupInfo(String armyGroupInfo) {
        this.armyGroupInfo = armyGroupInfo;
    }

    public String getRankName() {
        return rankName;
    }

    public void setRankName(String rankName) {
        this.rankName = rankName;
    }

    public String getIsArmyStatus() {
        return isArmyStatus;
    }

    public void setIsArmyStatus(String isArmyStatus) {
        this.isArmyStatus = isArmyStatus;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    public String getNickName() {
        return TextUtils.isEmpty(nickName) ? "" : nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getHeadPic() {
        return TextUtils.isEmpty(headPic) ? "" : headPic;
    }

    public void setHeadPic(String headPic) {
        this.headPic = headPic;
    }

    public String getUid() {
        return TextUtils.isEmpty(uid) ? "" : uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getStatus() {
        return TextUtils.isEmpty(status) ? "" : status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public boolean getIsAuthor() {
        if(TextUtils.equals(isAuthor,"1")){
            return true;
        }
        return false;
    }

    public void setIsAuthor(String isAuthor) {
        this.isAuthor = isAuthor;
    }
}
